// ok

export default {
  view_taxmachine_tree: {
    _odoo_model: 'ir.ui.view',
    model: 'fp.company.taxmachine',
    type: 'tree',
    fields: {
      company_id: {},
      code: {},
      name: {},
      user_ids: {}
    }
  },

  view_taxmachine_form: {
    _odoo_model: 'ir.ui.view',
    model: 'fp.company.taxmachine',
    type: 'form',

    fields: {
      company_id: {},
      code: {},
      name: {},
      user_ids: {
        widget: 'many2many_tags'
      }
    }
  },

  action_taxmachine: {
    _odoo_model: 'ir.actions',
    name: '公司',
    type: 'ir.actions.act_window',
    res_model: 'fp.company.taxmachine',
    domain: [],
    context: {},
    views: {
      tree: 'view_taxmachine_tree',
      form: 'view_taxmachine_form'
    }
  }
}
